<%@ page contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib  uri="http://www.springframework.org/security/tags" prefix="sec" %>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<link href="../css/apps/contract/edit.css" rel="stylesheet" media="screen"  />
<form class="form-horizontal">
	<FIELDSET sizset="3">
		<LEGEND>缴库查询</LEGEND>
		<DIV class=control-group>
			<LABEL class=control-label for=focusedInput>时间段</LABEL>
			<DIV class=controls>
			
				<select id=date
				  name="query.fields[0].name" 
				 class="input-xlarge focused">
				   <option value="month(fireDate)">按月</option>
				   <option value="QUARTER(fireDate)">按季度</option>
				</select>
			</DIV>
			<LABEL class=control-label for=focusedInput>时间值</LABEL>
			<DIV class=controls>
			<input id="datevalue"
			  name="query.fields[0].value"
			 class="datepicker"  readonly/>	
			</DIV>
		</DIV>
		<DIV class=form-actions>
			<BUTTON class="btn btn-primary" 
			onclick="dataSubmit(this)"
			type="button">
			<i class="icon-white icon-search"></i>
			查询</BUTTON>		
		</DIV>
	</FIELDSET>
</form>
<script type="text/javascript" src="scripts/apps/contract/search.js" ></script>